package com.kx.springmybatis.service;

import com.kx.springmybatis.pojo.User;

/**
 * @ClassName UserService
 * @Author Sun
 * @Date 2021/5/18 22:19
 */
public interface UserService {

    User getUserById(long id);

    void addUser(User user);

    int updateUser(User user);

    int deleteUserById(long id);
}
